<?php
$text = "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/style.css\" media=\"screen\" title=\"style (screen)\" />
<!-- TinyMCE -->
<script type=\"text/javascript\" src=\"/litera/tinymce/jscripts/tiny_mce/tiny_mce.js\"></script>
<script type=\"text/javascript\">
	tinyMCE.init({
		mode : \"textareas\",
		theme : \"advanced\",
		language: \"ru\",
		plugins : \"safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager\",

		theme_advanced_buttons1 : \"save,newdocument,print,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote,|,styleselect,formatselect,fontselect,fontsizeselect\",
		theme_advanced_buttons2 : \"cut,copy,paste,pasteword,|,search,spellchecker,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,cleanup,|,forecolor,backcolor,|,insertlayer,moveforward,movebackward,absolute,|,charmap,visualchars,blockquote,pagebreak,insertfile,insertimage\",
		theme_advanced_buttons3 : \"tablecontrols,|,hr,removeformat,visualaid,|,image,emotions,iespell,media,advhr,|,fullscreen\",
	
		theme_advanced_toolbar_location : \"top\",
		theme_advanced_resizing : true
	});
</script>
<!-- /TinyMCE -->



<form method=\"post\" action=\"index.php?act=add\">
	<h3>Очень сырая версия опубликовки произведений</h3>

	<p>
	Можете ради просто интереса проверить работоспособность скрипта, например впешите стишок отредактируйте его и опубликуите
	P.S. Со вставкой картинок пока туго!
	</p>
	<br><br>
	Название:<input type=\"text\" size=\"40\" maxlength=\"20\" name=\"nazvanie\" value=\"\"><br>
	Описание:<input type=\"text\" size=\"40\" maxlength=\"20\" name=\"about\" value=\"\"><br><br>
	<!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
	<textarea id=\"elm1\" name=\"elm1\" rows=\"35\" cols=\"80\" style=\"width: 100%\">
	".$proizvedeine."
	</textarea>

	<br />
	<input type=\"submit\" name=\"save\" value=\"Опубликовать\" />
	<input type=\"reset\" name=\"reset\" value=\"Обнулить\" />
</form>";


?>